package mail.deom.page.Actions;

import cucumber.demo.steps.Steps;
import mail.deom.page.LoginPage;
import org.openqa.selenium.By;

/**
 * Created by Administrator on 2016/11/1.
 */
public class Login extends Steps{
    public void loginE(String username,String password){
        driver.switchTo().frame("x-URS-iframe");
        driver.findElement(LoginPage.loginAccount).sendKeys(username);
        driver.findElement(LoginPage.loginPassword).sendKeys(password);


    }
}
